﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="modArt.aspx.cs" Inherits="Com.CMS263.Web.manage.modArt" %>




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="style/main.css" rel="stylesheet" type="text/css" />
    <link href="common/validator.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
    function check()
    {
        var title = document.getElementById("txtTitle").value;
        if(title.length==0)
        {
            alert("请输入新闻标题");
            return false;
        }

    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
            <tr>
                <td height="23" colspan="2" class="table_2">
                    添加/修改 <asp:label runat="server" id="lbTypeName"></asp:label>
                </td>
            </tr>
            <tr>
                <td class="tdleft">
                   标题:
                </td>
                <td class="tdside">
                     
                    <asp:TextBox ID="txtTitle" runat="server" Width="550px" Columns="60" 
                        MaxLength="100"></asp:TextBox>
                &nbsp;<asp:CheckBox ID="chkRed" runat="server" Text="标红" />
                    <asp:CheckBox ID="chkStrong" runat="server" 
                        Text="加粗" />
                </td>
            </tr>
           
            <tr>
                <td class="tdleft">
                    内容简介</td>
                <td class="tdside">
                     <asp:TextBox ID="txtRemark" runat="server" Height="114px" TextMode="MultiLine" 
                         Width="460px" MaxLength="300"></asp:TextBox>
                    
                </td>
            </tr>
           
            <tr>
                <td class="tdleft">
                    添加时间</td>
                <td class="tdside">
                     <asp:TextBox ID="txtAddDate" runat="server" Width="147px" ></asp:TextBox>
                    
                </td>
            </tr>
            <%if (!string.IsNullOrEmpty(imgPath))
             { %>
            <tr>
                <td class="tdleft">
                    图片</td>
                <td class="tdside">
                    <asp:FileUpload ID="fuImg" runat="server" Height="20px" Width="214px" />
                </td>
            </tr>
           <%} %>
            <tr>
                <td class="tdleft">
                    内容:
                </td>
                <td class="tdside">
                   <input id="con" type="hidden" runat="server" />
                    <iframe id="eWebEditor1" src="eWebEditorExt/jc_editor/ewebeditor.htm?id=con&style=coolblue" frameborder="0" scrolling="no" width="90%" height="300"></iframe>    
                     
                    &nbsp;</td>
            </tr>
            <tr>
                    <td class="tdleft">
                       </td>
                    <td class="tdside">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" /> 
                        <asp:HiddenField ID="hdfTypeId" runat="server" />
                        <asp:HiddenField ID="hdfPage" runat="server" />
                    </td>
                </tr>
        </table>
    </div>
    </form>
</body>
</html>
